<table>
{% for invoice in invoices %}
    <tr>
        <td><a href="{% url invoice_detail invoice.id %}">{{ invoice.school.name }}</a></td>
        <td><a href="{% url invoice_detail invoice.id %}">{{ invoice.month }}</a></td>
        <td>{{ invoice.sent_email }}</td>
        <td>{{ invoice.status }}</td>
        <td>{{ invoice.start_date }}</td>
        <td>{{ invoice.end_date }}</td>
        <td>{{ invoice.uint_price }}</td>
        <td>{{ invoice.count_classes }}</td>
        <td>{{ invoice.total_price }}</td>
{% endfor %}
</table>